package com.happystreet.engine
{
	import flash.display.MovieClip;
	
	public class CoreSpot extends CoreObject
	{
		public function CoreSpot(className:String=null)
		{
			super(className);
			this.alignTo(0, 16, (CoreObject.ALIGN_HORIZONTAL_CENTER | CoreObject.ALIGN_BOTTOM));
		}
		
		public function setRollOver():void
		{
			if (content)
			{
				content.gotoAndStop(2);
			}
		}
		
		public function setRollOut():void
		{
			if (content)
			{
				content.gotoAndStop(1);
			}
		}
	}
}